#!/bin/bash
read -p "input username: " username
read -s -p "input password: " password
echo
if [ "$username" == "tom" -a "$password" == "123456" ];then
	echo "login success"
else
	echo "login fail"
fi
